css: Fix handling of transform values
authorMatthias Clasen <mclasen@redhat.com>
Mon, 18 Jul 2022 11:59:39 +0000 (06:59 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 18 Jul 2022 12:08:01 +0000 (07:08 -0500)
commit6ef39682270685a078f292f1f2e02b0a90f9c399
treec9da978a1e72e27c88b1f3dc6f08b199dc2170da
parenteb1a2268bb3292cb9c7925394cf8c7807f886e49
css: Fix handling of transform values

When computing a transform value, there is nothing
to do, but we still need to copy the matrix from
src to dest, since it depends on the other transforms
in the array whether we are using the src or the
dest in the end.

This fixes cases like
-gtk-icon-transform: perspective(100px) matrix(1,2,...);
which would otherwise end up with a zero matrix.
gtk/gtkcsstransformvalue.c